<?php

namespace app\admin\model\store;

use app\common\model\TimeModel;

class Seckill extends TimeModel
{

    protected $name = "seckill";

    protected $deleteTime = false;


    public function goodsList()
    {
        return $this->belongsTo(Goods::class,'goods_id','id');
    }

    public function config()
    {
        return $this->belongsTo(SeckillConfig::class,'config_id','id');
    }
    

}